
uniform mat4 pMatrix;
uniform mat4 mvMatrix;

attribute vec3 a_position;
attribute vec3 a_offset;

varying vec3 vTexCoord;

void main(void) {

	gl_Position = pMatrix * vec4(a_position, 1.0);
	vTexCoord = (a_position-a_offset);
	
}